package com.yhcnet.blog.pojo;

public class Essay {
    int EID;
    String title;
    String content;
    String date;
    String email;
    int liked;
    int visited;
    String kind;

    @Override
    public String toString() {
        return "Essay{" +
                "EID=" + EID +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", date='" + date + '\'' +
                ", email='" + email + '\'' +
                ", liked=" + liked +
                ", visited=" + visited +
                ", kind='" + kind + '\'' +
                '}';
    }

    public Essay() {
    }

    public Essay(int EID, String title, String content, String date, String email, int liked, int visited, String kind) {
        this.EID = EID;
        this.title = title;
        this.content = content;
        this.date = date;
        this.email = email;
        this.liked = liked;
        this.visited = visited;
        this.kind = kind;
    }

    public int getEID() {
        return EID;
    }

    public void setEID(int EID) {
        this.EID = EID;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getLiked() {
        return liked;
    }

    public void setLiked(int liked) {
        this.liked = liked;
    }

    public int getVisited() {
        return visited;
    }

    public void setVisited(int visited) {
        this.visited = visited;
    }

    public String getKind() {
        return kind;
    }

    public void setKind(String kind) {
        this.kind = kind;
    }
}
